package com.pmcc.yn.entity;
import com.pmcc.core.entity.UUIDEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;
/**
 * @author zhangjunjie 2019/4/29
 * 技师的订单信息
 */
@Entity
@Table(name = "js_accept")
@ApiModel(value = "技师的订单信息" ,description = "技师的订单信息")
public class AcceptInfo extends UUIDEntity{

    @Column(name = "order_id")
    @ApiModelProperty(value = "orderId", required = true)
    private String orderId;//订单Id

    @Column(name = "tech_id")
    @ApiModelProperty(value = "techId", required = true)
    private String techId;// 技师id

    @Column(name = "store_id")
    @ApiModelProperty(value = "storeId", required = true)
    private String storeId;// 门店id

    @Column(name = "order_name")
    @ApiModelProperty(value = "orderName", required = true)
    private Integer orderName;// 订单名称

    @Column(name = "create_time")
    @ApiModelProperty(value = "createTime", required = false)
    private Date createTime;//创建时间

    @Column(name = "flag")
    @ApiModelProperty(value = "flag", required = false)
    private Integer flag;//订单状态 0:已报名 1:待服务 2:已完成 3:未成交 4:已超时 5:待评价

    public String getStoreId() {
        return storeId;
    }

    public void setStoreId(String storeId) {
        this.storeId = storeId;
    }

    public Integer getOrderName() {
        return orderName;
    }

    public void setOrderName(Integer orderName) {
        this.orderName = orderName;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getFlag() {
        return flag;
    }

    public void setFlag(Integer flag) {
        this.flag = flag;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getTechId() {
        return techId;
    }

    public void setTechId(String techId) {
        this.techId = techId;
    }


    }

